﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title - My ASP.NET MVC Application</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    <style type="text/css">
        body {
            padding-top: 60px;
            padding-bottom: 40px;
        }
    </style>
    @Scripts.Render("~/bundles/modernizr")
</head>
<body id="pageBody">

    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
               @Html.ActionLink("Nutrapp", "Index", "Home", null, new { @class = "navbar-brand" })

            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li>@Html.ActionLink("Search", "Index", "Search")</li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Meal Planning <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="#">Weight Loss Diet</a></li>
                            <li><a href="#">Sports Diet</a></li>
                            <li><a href="#">Personal Diet</a></li>
                        </ul>
                    </li>
                    <li>@Html.ActionLink("Nutrition", "Nutrition", "Nutrition")</li>
                    <li>@Html.ActionLink("Contact", "Contact", "Contact")</li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Admin <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Recipe", "Index", "Recipe")</li>
                            <li>@Html.ActionLink("Ingredients", "Index", "Ingredients")</li>
                            <li>@Html.ActionLink("Meal Planning", "MealPlanning", "Diet")</li>
                            <li>@Html.ActionLink("Nutrition", "Index", "Nutrition")</li>
                            <li>@Html.ActionLink("Contact", "Index", "Contact")</li>
                        </ul>
                    </li>
                    @if (!Request.IsAuthenticated)
                    {
                        <li>@Html.ActionLink("Register", "Register", "Account")</li>
                        <li>@Html.ActionLink("Log In", "Login", "Account")</li>
                    }
                    else
                    {
                        <li>@Html.ActionLink("Manage Account", "Manger", "Account")</li>
                    }
                </ul>
            </div><!--/.nav-collapse -->
        </div>
    </div>
    <div>
        @if (TempData["message"] != null)
        {
            <div class="alert alert-success flash">@TempData["message"]</div>
        }
        @*@RenderBody()*@
    </div>

    <div class="container" id="body">
        <div class="row">
            @RenderBody()
        </div>
        

    </div>
    
    @*<div class="container">
        <footer class="row container">
            <div class="content-wrapper">
                <div class="float-left">
                    <p>&copy; @DateTime.Now.Year - ASP.NET MVC Application</p>
                </div>
            </div>
        </footer>
    </div>*@

    @Scripts.Render("~/bundles/jquery")
    @RenderSection("scripts", required: false)

</body>



</html>
